package org.zephyr.struct.decorator;

public class ConcreateDecorator extends Decorator{
    public ConcreateDecorator(Component component) {
        super(component);
    }

    public void operation(){
        super.operation();
        addedFunction();
    }

    public void addedFunction(){
        System.out.println("为具体构件角色增加额外的功能AddedFunction");
    }
}
